package com.android.happymall.model.detail;

import java.util.List;

/**
 * Created by Administrator on 2016/9/12.
 */
public class Pingjia {


    /**
     * list_total : 2
     * list : [{"mid":"1","avatar":"http://192.168.1.47//upload/photo.gif","nickname":"test01","c_time":"2016-09-07 09:09:39","star":"3","content":"123"},{"mid":"1","avatar":"http://192.168.1.47//upload/photo.gif","nickname":"test01","c_time":"2016-09-06 20:09:44","star":"5","content":""}]
     */

    private PingjiaData data;
    /**
     * data : {"list_total":2,"list":[{"mid":"1","avatar":"http://192.168.1.47//upload/photo.gif","nickname":"test01","c_time":"2016-09-07 09:09:39","star":"3","content":"123"},{"mid":"1","avatar":"http://192.168.1.47//upload/photo.gif","nickname":"test01","c_time":"2016-09-06 20:09:44","star":"5","content":""}]}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1473664358
     */

    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public PingjiaData getData() {
        return data;
    }

    public void setData(PingjiaData data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class PingjiaData {
        private int list_total;
        /**
         * mid : 1
         * avatar : http://192.168.1.47//upload/photo.gif
         * nickname : test01
         * c_time : 2016-09-07 09:09:39
         * star : 3
         * content : 123
         */

        private List<Pingjiadata> list;

        public int getList_total() {
            return list_total;
        }

        public void setList_total(int list_total) {
            this.list_total = list_total;
        }

        public List<Pingjiadata> getList() {
            return list;
        }

        public void setList(List<Pingjiadata> list) {
            this.list = list;
        }

        public static class Pingjiadata {
            private String mid;
            private String avatar;
            private String nickname;
            private String c_time;
            private String star;
            private String content;

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getC_time() {
                return c_time;
            }

            public void setC_time(String c_time) {
                this.c_time = c_time;
            }

            public String getStar() {
                return star;
            }

            public void setStar(String star) {
                this.star = star;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
